class ChangeRole2 < ActiveRecord::Migration

  def up
    remove_column :users, :role_id, :integer
    add_column :users, :rolename_id, :integer
    remove_column :roles, :role, :string
    add_column :roles, :rolename_id, :integer
    add_column :roles, :company_id, :integer
  end

  def down
  end
end
